package com.liushuai.demotestcxf.api;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import java.util.ArrayList;
import java.util.List;

@JacksonXmlRootElement(localName = "cssj")
public class InputDataRsp {
    @JacksonXmlProperty(localName = "fhm")
    private String fhm; // 医院ID（必填项）
    @JacksonXmlProperty(localName = "fhxx")
    private String fhxx; // 医生ID
    @JacksonXmlProperty(localName = "clsj")
    private String clsj; // 医院ID（必填项）

    @JacksonXmlProperty(localName = "regpatitem")
    @JacksonXmlElementWrapper(useWrapping = false)
    private List<DoctorInfoListRequest.DoctorInfo> doctorInfoList = new ArrayList<>();

    @JacksonXmlRootElement(localName = "patitem")
    public static class DoctorInfo {
        @JacksonXmlProperty(localName = "patno")
        private String patno; // 医院ID（必填项）
        @JacksonXmlProperty(localName = "patid")
        private String patid; // 医生ID
//< patno ></ patno >
//< patid ></ patid >
//< cardno ></ cardno >
//< regid ></ regid >
//< inpdate ></ inpdate >
//< patname ></ patname >
//< patsex ></ patsex >
//< patbirth ></ patbirth >
//< patagestr ></ patagestr >
//< typecode ></ typecode >
//< chargetypeno ></ chargetypeno >
//< reqdocno ></ reqdocno >
//< reqdocname ></ reqdocname >
//
//< reqdeptno ></ reqdeptno >
//< reqdeptname></ reqdeptname>
//
//< reqwardno ></ reqwardno >
//< reqwardname ></ reqwardname >
//
//< reqbedno ></ reqbedno >
//< paticd ></ paticd >
//< clinsymp ></ clinsymp >
//< checkreq ></ checkreq >
//< chiefcomp ></ chiefcomp >
//< medhistory ></ medhistory >
//< sign ></ sign >
//< note ></ note >
//< pataddress ></ pataddress >
//< patnation ></ patnation >
//< patidcardno ></ patidcardno >
//< patphone ></ patphone >
//< patheight ></ patheight >
//< patweight ></ patweight >
//< abobldtype ></ abobldtype >
//< rhbldtype ></ rhbldtype >
//< chargestate></ chargestate>
//< reqitem >
//<item>
//< reqno >Z01010101</ reqno >
//< performdeptno>1001</ performdeptno >
//< performdept>检验室</ performdept>
//< reqdt >20150823100032</ reqdt >
//< itemcode >01</ itemcode >
//< itemname >项目1</ itemname >
//< itemprice >10</ itemprice >
//< itemqty >1</ itemqty >
//< hisrecordid ></ hisrecordid >
//< checkpart ></ checkpart >
//< specimenstype></ specimenstype>
//< packagename></ packagename>
//<isurgent>0</isurgent>
//</item>

    }

    public String getFhm() {
        return fhm;
    }

    public void setFhm(String fhm) {
        this.fhm = fhm;
    }

    public String getFhxx() {
        return fhxx;
    }

    public void setFhxx(String fhxx) {
        this.fhxx = fhxx;
    }

    public String getClsj() {
        return clsj;
    }

    public void setClsj(String clsj) {
        this.clsj = clsj;
    }

    public List<DoctorInfoListRequest.DoctorInfo> getDoctorInfoList() {
        return doctorInfoList;
    }

    public void setDoctorInfoList(List<DoctorInfoListRequest.DoctorInfo> doctorInfoList) {
        this.doctorInfoList = doctorInfoList;
    }
}
